package top.infopub.security.vo;


import java.io.Serializable;


/**
 * 保存用户的数据，存储到Session中
 * @author Awoke
 * @version 2018年9月17日
 * @see AuthorizationVO
 * @since
 */
public class AuthorizationVO implements Serializable {

    private static final long serialVersionUID = -2206241619986483618L;

    private String id;

    private String userName;

    private String code;

    private boolean freeze;

    private String password;

    private String realName;

    private String mobile;

    private String email;

    private String lastLoginTime;

    private boolean isAuth = false;

    private Integer sex;

    // 账户类型
    private Integer type;

    // 账户状态
    private Integer accountStatus;

    // 企业基本信息是否完善
    private boolean isBase;

    // 企业开票信息是否完善
    private boolean isTicket;

    // 企业资料信息是否完善
    private boolean isInfo;

    // 所属企业ID -- blsp项目使用
    private String compId;

    // 数据类型 -- blsp项目使用
    private Integer dataType;

    // 关联人力人员ID -- znjt项目使用
    private String hrStaffId;

    public AuthorizationVO() {

    }

    public AuthorizationVO(String operatorID, String userName, String code) {
        super();
        this.id = operatorID;
        this.userName = userName;
        this.code = code;
    }

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean isFreeze() {
        return freeze;
    }

    public void setFreeze(boolean freeze) {
        this.freeze = freeze;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public boolean isAuth() {
        return isAuth;
    }

    public void setAuth(boolean isAuth) {
        this.isAuth = isAuth;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(Integer accountStatus) {
        this.accountStatus = accountStatus;
    }

    public boolean isBase() {
        return isBase;
    }

    public void setBase(boolean isBase) {
        this.isBase = isBase;
    }

    public boolean isTicket() {
        return isTicket;
    }

    public void setTicket(boolean isTicket) {
        this.isTicket = isTicket;
    }

    public boolean isInfo() {
        return isInfo;
    }

    public void setInfo(boolean isInfo) {
        this.isInfo = isInfo;
    }

    public String getCompId() {
        return compId;
    }

    public void setCompId(String compId) {
        this.compId = compId;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public String getHrStaffId() {
        return hrStaffId;
    }

    public void setHrStaffId(String hrStaffId) {
        this.hrStaffId = hrStaffId;
    }

}
